package i_quartz;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class JDBCJob implements Job{
	private static final Logger logger = LoggerFactory.getLogger(JDBCJob.class);

	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {

		logger.info("JDBC Job 开始...");
		
		logger.info("你好,Quartz"+new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
		
		logger.info("JDBC Job 结束..");
		
	}
	
	
	
	
	
	
}
